package com.pmcc.cj.entity;

import com.pmcc.core.entity.UUIDEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by tomas on 2020/10/9.
 */
@Entity
@Table(name = "cj_shopping_cart_detail")
public class CjShoppingCartDetail extends UUIDEntity {
    @Column(name = "commodity_detail_id")
    private String commodityDetailId;//商品详情id
    @Column(name = "shopping_cart_id")
    private String shoppingCartId;//购物车主表id
    @Column(name = "name")
    private String name;//商品详情名称
    @Column(name = "number_detail")
    private Integer numberDetail;//商品选择的数量

    public String getCommodityDetailId() {
        return commodityDetailId;
    }

    public void setCommodityDetailId(String commodityDetailId) {
        this.commodityDetailId = commodityDetailId;
    }

    public String getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(String shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNumberDetail() {
        return numberDetail;
    }

    public void setNumberDetail(Integer numberDetail) {
        this.numberDetail = numberDetail;
    }
}
